package com.gushenge.core.beans

import com.chad.library.adapter.base.entity.MultiItemEntity

data class HomeV3(
    var fenlei: ArrayList<Fenlei> = arrayListOf(),
    var game: ArrayList<ArrayList<Game1>> = arrayListOf(),
    var slide: ArrayList<Slide> = arrayListOf(),
    var guanfangtuijian:ArrayList<Guanfangtuijian> = arrayListOf(),
    var tuijian: ArrayList<Game1> = arrayListOf(),
    var game1: Game = Game(),
    var gongneng: ArrayList<GongNeng> = arrayListOf(),
    var fanli_news:ArrayList<HomeNews> = arrayListOf(),
    var main_slide : ArrayList<Nav> = arrayListOf()
)
data class HomeNews(
    var name:String = "",
)


data class Game1(
    val biaoqian: ArrayList<String>,
    val icon: String,
    val id: String,
    val image: String,
    val name: String,
    val point: String,
    val type: String,
    val video: String,
    val zhekou: String,
    val size: String,
)

data class Fenlei(
    var id: String="",
    var icon: String="",
    var name: String=""
)
data class Guanfangtuijian(
    val biaoqian: String = "",
    val icon: String= "",
    val id: String= "",
    val image: String= "",
    val name: String= "",
    val point: String= "",
    val tuijianzhishu: Int = 0,
    val type: String= "",
    val size: String= ""
)
data class GongNeng(
    val name: String= "",
    val type: Int= 0,
    val icon: String= "",
    val login:Int= 1,
    val url: String= ""
)
data class Slide(
    var biaoqian: ArrayList<String> = arrayListOf(),
    var game_name: String="",
    var gid: String="",
    var icon: String="",
    var id: String="",
    var image: String="",
    var link: String="",
    var name: String="",
    var point: String="",
    var sort: String="",
    var system: String="",
    var type: String=""
)

data class Tuijian(
    val biaoqian: List<String>,
    val icon: String,
    val id: String,
    val image: String,
    val name: String,
    val point: String,
    val style: Int,
    val type: String
)
data class HomeV3MultiItem(
        var fenlei: ArrayList<Fenlei> = arrayListOf(),
        var gameTop:String = "",
        var guanfangtuijian:ArrayList<Guanfangtuijian> = arrayListOf(),
        var game: ArrayList<Game1> = arrayListOf(),
        var game1: ArrayList<Game> = arrayListOf(),
        var slide: ArrayList<Slide> = arrayListOf(),
        var tuijian:  ArrayList<Game1> = arrayListOf(),
        var tuijianOther:  Game = Game(),
        var style:Int = 3,
        var main_slide : ArrayList<Nav> = arrayListOf(),

        var gongneng: ArrayList<GongNeng> = arrayListOf(),
        var fanli_news :ArrayList<HomeNews> = arrayListOf(),
        var fenlei1 :Fenlei = Fenlei()

):MultiItemEntity{
    override val itemType: Int
        get() = style
}

data class HomeOthers(
        var top: ArrayList<Game> = arrayListOf(),
        var list: ArrayList<Game> = arrayListOf(),
        var p :Int=1,
        var max_p :Int=1,
)
